/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:岁亮亮
 * Date:2024-01-14
 * TIME:14:10
 */
public class student2 extends Student{
    public student2(String name, int age) {
        super(name, age);
    }

    @Override
        public void goschool() {
            super.goschool();
            System.out.println("好学生去上学");
        }
        public void nogood(){
            System.out.println("我是坏学生");
        }

}
